<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p3_元素溢出</title>
    <style>
        div{
            /*想要显示溢出，先要设置范围*/
            width: 200px;
            height: 200px;
            background-color: yellow;
            overflow: auto;/*溢出侧才显示滚动条*/
            overflow: scroll;/*默认两侧都显示滚动条*/
            overflow: hidden;/*直接裁掉溢出部分*/
            overflow: visible;/*溢出可见*/
        }
    </style>
</head>
<body>
    <div>
        <img src="../day03/img/computer2.png" alt="">
        <img src="../day03/img/computer2.png" alt="">
        <img src="../day03/img/computer2.png" alt="">
        <img src="../day03/img/computer2.png" alt="">
    </div>
</body>
</html>